package cn.com.egova.service;

import javax.jws.WebService;

@WebService(endpointInterface = "cn.com.egova.service.WgWebServiceInf")
public class WgWebServiceImp implements WgWebServiceInf {

	@Override
	public String taskDispatch(String requestXML) {
		System.out.println(requestXML);
		StringBuffer result = new StringBuffer();
		result.append("<ResultValue>0</ResultValue>");
		result.append("<ResultMessage>ResultMessage...</ResultMessage>");
		return result.toString();
	}
	
	@Override
	public String eventQuery(String requestXML) {
		StringBuffer result = new StringBuffer();
		result.append("<ResultValue>3</ResultValue>");
		result.append("<ResultMessage>Department1</ResultMessage>");
		return result.toString();
	}
	
	@Override
	public String taskFeedback(String requestXML) {
		StringBuffer result = new StringBuffer();
		result.append("<ResultValue>0</ResultValue>");
		result.append("<ResultMessage>ResultMessage...</ResultMessage>");
		return result.toString();
	}

}
